//@author A0101906R
#include "CmdUndo.h"

using namespace Twentyfifth;
using namespace std;

const std::string CmdUndo::FEEDBACK_UNDOOK = "Undo successful.\n";
const std::string CmdUndo::ERROR_UNDOUNDO = "Multiple undo not allowed.\n";
//@author A0101906R
CmdUndo::CmdUndo() {
	cmdType = UNDO;
}
//@author A0101906R
Status CmdUndo::execution() {

	Status undoStatus;
	assert(storage != NULL);
	Task::TaskType taskType;
	taskType = task.getTaskType();


	undoStatus.desc = statusCodeToString(undoStatus);
	return undoStatus;
}
//@author A0101906R
Status CmdUndo::undo(Status::StatusCode c) {
	return Status(Status::ERR_OTHER, ERROR_UNDOUNDO);
}
